package bean;

import java.util.Date;

public class Express {
    private String studentname;
    private String dormitoryid;
    private Date arrivetime;
    private Date collecttime;
    private int collectnum;
    private String collectname;
    private String collectphoneid;

    public Express() {
    }

    public Express(String studentname, String dormitoryid, Date arrivetime, Date collecttime, int collectnum, String collectname, String collectphoneid) {
        this.studentname = studentname;
        this.dormitoryid = dormitoryid;
        this.arrivetime = arrivetime;
        this.collecttime = collecttime;
        this.collectnum = collectnum;
        this.collectname = collectname;
        this.collectphoneid = collectphoneid;
    }

    /**
     * 获取
     * @return studentname
     */
    public String getStudentname() {
        return studentname;
    }

    /**
     * 设置
     * @param studentname
     */
    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    /**
     * 获取
     * @return dormitoryid
     */
    public String getDormitoryid() {
        return dormitoryid;
    }

    /**
     * 设置
     * @param dormitoryid
     */
    public void setDormitoryid(String dormitoryid) {
        this.dormitoryid = dormitoryid;
    }

    /**
     * 获取
     * @return arrivetime
     */
    public Date getArrivetime() {
        return arrivetime;
    }

    /**
     * 设置
     * @param arrivetime
     */
    public void setArrivetime(Date arrivetime) {
        this.arrivetime = arrivetime;
    }

    /**
     * 获取
     * @return collecttime
     */
    public Date getCollecttime() {
        return collecttime;
    }

    /**
     * 设置
     * @param collecttime
     */
    public void setCollecttime(Date collecttime) {
        this.collecttime = collecttime;
    }

    /**
     * 获取
     * @return collectnum
     */
    public int getCollectnum() {
        return collectnum;
    }

    /**
     * 设置
     * @param collectnum
     */
    public void setCollectnum(int collectnum) {
        this.collectnum = collectnum;
    }

    /**
     * 获取
     * @return collectname
     */
    public String getCollectname() {
        return collectname;
    }

    /**
     * 设置
     * @param collectname
     */
    public void setCollectname(String collectname) {
        this.collectname = collectname;
    }

    /**
     * 获取
     * @return collectphoneid
     */
    public String getCollectphoneid() {
        return collectphoneid;
    }

    /**
     * 设置
     * @param collectphoneid
     */
    public void setCollectphoneid(String collectphoneid) {
        this.collectphoneid = collectphoneid;
    }

    public String toString() {
        return "Express{studentname = " + studentname + ", dormitoryid = " + dormitoryid + ", arrivetime = " + arrivetime + ", collecttime = " + collecttime + ", collectnum = " + collectnum + ", collectname = " + collectname + ", collectphoneid = " + collectphoneid + "}";
    }
}
